go/types.TypeParam.index (field)

12 uses

	go/types (current package)
		builtins.go#L867: 		ptyp.index = tp.index
		infer.go#L108: 				tparams2[i].index = tparam.index // == i
		infer.go#L297: 		if targs[tpar.index] == nil {
		typelists.go#L63: 		if typ.index >= 0 {
		typelists.go#L66: 		typ.index = i
		typeparam.go#L25: 	index int       // type parameter index in source order, starting at 0
		typeparam.go#L47: 	typ := &TypeParam{check: check, id: id, obj: obj, index: -1, bound: constraint}
		typeparam.go#L64: 	return t.index
		unify.go#L132: 			assert(i == tpar.index)
		unify.go#L203: 	if i := tpar.index; 0 <= i && i < len(list) && list[i] == tpar {